package com.etc.pojo;

import org.springframework.stereotype.Component;

@Component
public class Favorite {
    private int favoriteId;
    private User user;
    private Video video;
    private String favoriteDate;

    public int getFavoriteId() {
        return favoriteId;
    }

    public void setFavoriteId(int favoriteId) {
        this.favoriteId = favoriteId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }

    public String getFavoriteDate() {
        return favoriteDate;
    }

    public void setFavoriteDate(String favoriteDate) {
        this.favoriteDate = favoriteDate;
    }



    public Favorite() {
    }

    public Favorite(int favoriteId, Video video) {
        this.favoriteId = favoriteId;
        this.video = video;
    }

    public Favorite(int favoriteId, User user, Video video, String favoriteDate) {
        this.favoriteId = favoriteId;
        this.user = user;
        this.video = video;
        this.favoriteDate = favoriteDate;
    }



}
